package com.example.dictdemo.mapper;

import com.baomidou.mybatisplus.annotation.InterceptorIgnore;
import com.example.dictdemo.model.dto.LogDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


/**
 * 基础公共映射器
 *
 * @author dlp
 * @date 2024/08/23
 */
@Mapper
public interface BaseCommonMapper {

    /**
     * 保存日志
     * @param dto
     */
    @InterceptorIgnore(illegalSql = "true", tenantLine = "true")
    void saveLog(@Param("dto") LogDTO dto);

}
